      <footer>
        <p>&copy; LatiSoft 2012</p>
      </footer>


    <script src="<?php echo base_url(); ?>media/bootstrap/js/jquery.js"></script>
    <script src="<?php echo base_url(); ?>media/datepicker/js/bootstrap-datepicker.js"></script> 
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-transition.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-alert.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-modal.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-dropdown.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-scrollspy.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-tab.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-tooltip.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-popover.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-button.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-collapse.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-carousel.js"></script>
    <script src="<?php echo base_url(); ?>media/bootstrap/js/bootstrap-typeahead.js"></script>
    <script src="<?php echo base_url(); ?>media/chosen/chosen.jquery.js" type="text/javascript"></script>
    <script src="<?php echo base_url(); ?>media/jqueryAlert/jquery.alerts.js" type="text/javascript"></script>jquery.alerts
    

    <script type="text/javascript">
    
    $(document).ready(function() {

        $('.datePicker').datepicker({weekStart: 1});
        $(".alert").alert();

        if(typeof onReady == 'function') {
            //alert('existe onReady');
            onReady();
        }else{
            //alert('no existe onReady');

        }

        $(".chzn-select").chosen({no_results_text: "No hay coincidencias con", allow_single_deselect:true});
        //$(".chzn-select-deselect").chosen({allow_single_deselect:true});

     });



    </script>



